/**
  ******************************************************************************
  * File Name          : wheel.h
  * Description        :
  ******************************************************************************
  */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __WHEEL_H
#define __WHEEL_H
#include "main.h"
#include "stm32f1xx_hal.h"
#include  "mini_car2.h"

void motor_wheel_run(FOOD_CAR *car);
void motor_wheel_forward_setup (FOOD_CAR *car);
void motor_wheel_backward_setup (FOOD_CAR *car);
void motor_wheel_RightShift_setup (FOOD_CAR *car);
void motor_wheel_LeftShift_setup (FOOD_CAR *car);
void motor_wheel_stop (FOOD_CAR *car);
void motor_wheel_CW_turn(FOOD_CAR *car);
void motor_wheel_CCW_turn(FOOD_CAR *car);
void motor_slightly_turnLeft(FOOD_CAR *car);
void motor_sharply_turnLeft(FOOD_CAR *car);
void motor_slightly_turnRight(FOOD_CAR *car);
void motor_sharply_turnRight(FOOD_CAR *car);
void motor_wheel_driver(FOOD_CAR *car);
void motor_wheel_reduceSpeed (FOOD_CAR *car);


#endif

